import { createApp } from 'vue'
import { createPinia } from 'pinia'
import lazyPlugin from 'vue3-lazy'
import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(router)
app.use(createPinia())
// 懒加载
app.use(lazyPlugin, {
    error: './assets/images/error.svg',
    loading: './assets/images/loading.gif'
})
app.mount('#app')